package vip.george.order.dto.request;

import lombok.Data;

import javax.validation.constraints.NotNull;

/**
 * @author george
 * @since 2023/7/5
 * <p>下单的请求</p>
 */

@Data
public class GeneraOrderRequest {

    @NotNull(message = "商品id不能为空")
    private Long productId;

    @NotNull(message = "买家id不能为空")
    private Long buyerId;

}
